#include "player_simulator.h"
#include <iostream>

int main() {
    PlayerSimulator simulator;
    
    std::cout << "Welcome to the Esports Player Simulator!" << std::endl;
    std::cout << "This program simulates professional and amateur esports players." << std::endl;
    
    // Initialize with some default players
    simulator.resetAndGenerate(20);
    
    while (true) {
        simulator.showMainMenu();
        
        int choice;
        std::cin >> choice;
        
        // Clear input buffer
        std::cin.ignore();
        
        if (!simulator.handleMenuChoice(choice)) {
            break;
        }
    }
    
    return 0;
}
